//主数据表格配置
export const columns = [
  // { title: '供应商代码', dataIndex: 'supplierOrgCode', key: 'supplierOrgCode', align: 'center' },
  // { title: '供应商名称', dataIndex: 'supplierOrgName', key: 'supplierOrgName', align: 'center' },
  // { title: '客户代码', dataIndex: 'customerOrgCode', key: 'customerOrgCode', align: 'center' },
  // { title: '客户名称', dataIndex: 'customerOrgName', key: 'customerOrgName', align: 'center' },
  // { title: '供需类型（字典值supplierType）', dataIndex: 'supplyType', key: 'supplyType', align: 'center' },
  { title: '供需合同', dataIndex: 'contract', key: 'contract', align: 'center' },
  { title: '供需合同版本', dataIndex: 'contractVersion', key: 'contractVersion', align: 'center' },
  { title: '供需合有效期起', dataIndex: 'contractBeginDate', key: 'contractBeginDate', align: 'center' },
  { title: '供需合有效期止', dataIndex: 'contractEndDate', key: 'contractEndDate', align: 'center' },
  { title: 'GSP认证证书', dataIndex: 'gsp', key: 'gsp', align: 'center' },
  { title: 'GSP认证证书版本', dataIndex: 'gspVersion', key: 'gspVersion', align: 'center' },
  { title: 'GSP认证证有效期起', dataIndex: 'gspBeginDate', key: 'gspBeginDate', align: 'center' },
  { title: 'GSP认证证有效期止', dataIndex: 'gspEndDate', key: 'gspEndDate', align: 'center' },
  { title: '委托书', dataIndex: 'mandate', key: 'mandate', align: 'center' },
  { title: '委托书版本', dataIndex: 'mandateVersion', key: 'mandateVersion', align: 'center' },
  { title: '委托有效期起', dataIndex: 'mandateBeginDate', key: 'mandateBeginDate', align: 'center' },
  { title: '委托有效期止', dataIndex: 'mandateEndDate', key: 'mandateEndDate', align: 'center' },
  { title: '质保协议', dataIndex: 'assurance', key: 'assurance', align: 'center' },
  { title: '质保协议版本', dataIndex: 'assuranceVersion', key: 'assuranceVersion', align: 'center' },
  { title: '质保协有效期起', dataIndex: 'assuranceBeginDate', key: 'assuranceBeginDate', align: 'center' },
  { title: '质保协有效期止', dataIndex: 'assuranceEndDate', key: 'assuranceEndDate', align: 'center' },
  { title: '廉洁购销合同', dataIndex: 'integrityPact', key: 'integrityPact', align: 'center' },
  { title: '廉洁购销合同版本', dataIndex: 'integrityPactVersion', key: 'integrityPactVersion', align: 'center' },
  { title: '廉洁购销合有效期起', dataIndex: 'integrityPactBeginDate', key: 'integrityPactBeginDate', align: 'center' },
  { title: '廉洁购销合有效期止', dataIndex: 'integrityPactEndDate', key: 'integrityPactEndDate', align: 'center' },
  {
    title: '操作',
    dataIndex: 'action',
    key: 'operation',
    width: 180,
    align: 'center',
    scopedSlots: { customRender: 'action' }
  }
]

//主数据明细columns
export const columnsDetail = []

//主数据查询配置
export const q_formInfos = [
  { label: '证类型', name: 'zhengZhaolx', type: 'dicselect', dicName: 'zhuCezlx', placeholder: '证类型' },
  { label: '证号', name: 'zhengZhaohm', type: 'input', placeholder: '证号' },
  { label: '生产厂商', name: 'shengChancsmc', type: 'input', placeholder: '生产厂商' },
  { label: '注册证状态', name: 'zhuangTai', type: 'dicselect', dicName: 'zhuCezzt', placeholder: '注册证状态' },
  { label: ['查询', '重置'], type: 'botton' }
]

export const q_formDatas = {
  zhuangTai: null,
  zhengZhaohm: null,
  zhengZhaolx: null,
  shengChancsmc: null,
  supplierOrgPid: null,
  supplierOrgCode: null
}

//添加主数据表单配置
export const s_FormInfo = []
export const s_formDatas = {}
export const s_rules = {}

//查看明细显示配置
export const infoDatas = []
